package com.yanqu.road.server.cmd.monopolymarket;

/**
 * @Description
 * @Author cwq
 * @Data 2021/9/6 9:39
 */
import com.yanqu.road.server.cmd.CrossCommand;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.manager.monopolymarket.MonopolyMarketCrossGroupMgr;
import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.server.protocol.Protocol;

@Cmd(code = Protocol.C_CROSS_MONOPOLY_MARKET_SYN_CROSS_GROUP, desc = "获取榷场分组配置")
public class CrossMonopolyMarketGetCrossGroupCmd extends CrossCommand {

    @Override
    public boolean parseData(YanQuMessage packet) throws Exception {
        return true;
    }

    @Override
    public void execute(YanQuMessage packet) throws Exception {
        MonopolyMarketCrossGroupMgr.synMonopolyMarketCrossGroup(serverId);
    }

    @Override
    public void sendData() {

    }
}
